﻿using System;
using System.Collections.Generic;
using System.Web.UI;
using KPIS.GERP.ESS.BLL;
using KPIS.GERP.ESS.MODEL;
using Telerik.Web.UI;

namespace KPIS.GERP.ESS.APP.App_UI.Forms
{
    public partial class ApprovePath : System.Web.UI.Page
    {
        B_MessageSend send = new B_MessageSend();

        protected void Page_Load(object sender, EventArgs e)
        {
            string send_seq = Request.QueryString["send_seq"];
            M_MessageSend info = send.GetInfo(send_seq);
            IList<M_MessageSend> infoList = send.GetApprovePath(info.ref_type, info.ref_seq.ToString());

            RadTreeList1.DataSource = infoList;
            RadTreeList1.DataBind();

            Page.Title = info.send_text;
            lblSender.Text = infoList[0].from_user_name;
        }
    }
}